AT-NFC  2.1 (win)
AT-NFC kernel set
nfc_err.h
Go to the documentation of this file.
1 #ifndef NFC_ERR_H
2 #define NFC_ERR_H
3 
4 /* ************************************ NFC error codes ************************************ */
8 /* ***************************************************************************************** */
9 
10 /* ************************************ NFC Error Codes ************************************ */
18 /* ************************************ nfc information rc ********************************* */
19 #define NFC_INF_OUTCOME 0x0301
20 #define NFC_INF_INV_COMM_SEQUESNCE 0x0302
22 /* ***************************************** nfcInit *************************************** */
23 #define NFC_ERR_INIT 0xA000
24 #define NFC_ERR_INIT_HAL_INIT NFC_ERR_INIT + 0x01
26 /* **************************************** nfcDeInit ************************************** */
27 #define NFC_ERR_DEINIT 0xA020
28 #define NFC_ERR_DEINIT_HAL_DEINIT NFC_ERR_DEINIT + 0x01
30 /* **************************************** nfcGetData ************************************* */
31 #define NFC_ERR_GET_DATA 0xA060
32 #define NFC_ERR_GET_DATA_INV_PARAM NFC_ERR_GET_DATA + 0x01
33 #define NFC_ERR_GET_DATA_INV_LEN NFC_ERR_GET_DATA + 0x02
35 /* ************************************* nfcGetDataByTag *********************************** */
36 #define NFC_ERR_GET_DATA_BY_TAG 0xA080
37 #define NFC_ERR_GET_DATA_BY_TAG_INV_PARAM NFC_ERR_GET_DATA_BY_TAG + 0x01
38 #define NFC_ERR_GET_DATA_BY_TAG_INV_LEN NFC_ERR_GET_DATA_BY_TAG + 0x02
39 #define NFC_ERR_GET_DATA_BY_TAG_INV_VAL NFC_ERR_GET_DATA_BY_TAG + 0x03
40 #define NFC_ERR_GET_DATA_BY_TAG_NOT_READY NFC_ERR_GET_DATA_BY_TAG + 0x04
42 /* *********************************** nfcGetDataByTagList ********************************* */
43 #define NFC_ERR_GET_DATA_BY_TAG_LIST 0xA0A0
44 #define NFC_ERR_GET_DATA_BY_TAG_LIST_INV_PARAM NFC_ERR_GET_DATA_BY_TAG_LIST + 0x01
45 #define NFC_ERR_GET_DATA_BY_TAG_LIST_INV_LIST NFC_ERR_GET_DATA_BY_TAG_LIST + 0x02
46 #define NFC_ERR_GET_DATA_BY_TAG_LIST_INV_LEN NFC_ERR_GET_DATA_BY_TAG_LIST + 0x03
48 /* *********************************** nfcIssScriptProcess ********************************* */
49 #define NFC_ERR_ISS_SCRIPT_PROCESS 0xA0C0
50 #define NFC_ERR_ISS_SCRIPT_PROCESS_INV_PARAM NFC_ERR_ISS_SCRIPT_PROCESS + 0x01
51 #define NFC_ERR_ISS_SCRIPT_PROCESS_INV_DATA NFC_ERR_ISS_SCRIPT_PROCESS + 0x02
52 #define NFC_ERR_ISS_SCRIPT_PROCESS_MEM_ALLOC NFC_ERR_ISS_SCRIPT_PROCESS + 0x03
55 /* ***************************************************************************************** */
58 #endif /* NFC_ERR_H */